package com.css.common.core.constant;


/**
 * System 错误码枚举类
 *
 * system 系统，使用 1-002-000-000 段
 */
public interface ErrorCodeConstants {

    // ========== AUTH 模块 1-002-000-000 ==========
    ErrorCode AUTH_LOGIN_BAD_CREDENTIALS = new ErrorCode(1004001, "登录失败，账号密码不正确");

    ErrorCode AUTH_LOGIN_CAPTCHA_CODE_ERROR = new ErrorCode(1004003, "请重新滑动验证");

    ErrorCode PASSWORD_CHECK_FIRST = new ErrorCode(1001001, "密码长度不能小于8位");
    ErrorCode PASSWORD_CHECK_SECOND = new ErrorCode(1001002, "密码长度不能小于8位且包含至少三种字符");
    ErrorCode PASSWORD_CHECK_THIRD = new ErrorCode(1001003, "密码长度不能小于8位且包含大小写字母及特殊字符");
    ErrorCode PASSWORD_CHECK_NULL = new ErrorCode(1001004, "密码不可为空");
    ErrorCode PASSWORD_CHECK_CHINESE = new ErrorCode(1001005, "密码不可包含中文");

    ErrorCode ACCOUNT_EXISTED = new ErrorCode(1001006, "账号已存在");

    ErrorCode PASSWORD_EQUAL = new ErrorCode(1001009, "旧密码与新密码一致");

    ErrorCode PASSWORD_ERROR = new ErrorCode(1001010, "旧密码不正确");
}
